package com.dude.objects;

/* helper class to represent a triplet of objects of some type 
 */
public class GenericTriplet<S, T, K> {

	private S s;
	private T t;
	private K k;
	
	public GenericTriplet(){
		this.s=null;
		this.t=null;
		this.k=null;
	}
	
	public GenericTriplet(S s, T t, K k){
		this.s=s;
		this.t=t;
		this.k=k;
	}
	
	public S getFirst(){
		return s;
	}
	
	public T getSecond(){
		return t;
	}
	
	public K getThird(){
		return k;
	}
	
	public void setFirst(S s){
		this.s=s;
	}
	
	public void setSecond(T t){
		this.t=t;
	}
	
	public void setThird(K k){
		this.k=k;
	}
	
}
